package com.tij.collection;

import java.util.ArrayList;
import java.util.Collection;

/**
 * @ClassName:simple collection
 * @author:
 * @Description: TODO
 * data:2024/10/3 16:45
 * @since
 **/
public class SimpleCollection {
    public static void main(String[] args) {
        Collection<Integer> c = new ArrayList<Integer>() ;
        for(int i =0;i<10;i++){
            c.add(i);
        }
        for(int i : c){
            System.out.print(i + ",");
        }
    }
}
